const Controller = require('egg').Controller
class test extends Controller {
  async tc() {
    let {
      ctx,
      service
    } = this
    let params = ctx.request.body
   let result =  await service.sendPrize.send(params)
    ctx.body = {
      code: 10000,
      data:result,
      msg: 'success'
    }
  }
}

module.exports = test